|
AT-NFC
2.1 (win)
AT-NFC kernel set
|
HAL Context declarations. More...
Macros | |
| #define | KER_CTX |
| #define | KER_CTX_SINGLE |
| #define | KER_CTX_INIT |
| #define | KER_CTX_TYPE |
| #define | KER_CTX_PARAM |
| #define | KER_CTX_SINGLE_PARAM void |
| #define | KER_CTX_INIT_PARAM |
| #define | KER_CTX_INIT_DECL() |
| #define | KER_CTX_INIT_SET() |
HAL Context declarations.
This declarations can be overridden by terminal application in emv_custom.h
| #define KER_CTX |
When using KER_CTX_CUSTOM, this needs to be defined as the name of the context data followed by a comma, e.g.:
This should always be included in the parameter list when calling a function that has KER_CTX_PARAM defined in the parameter list, e.g.:
| #define KER_CTX_INIT |
When using KER_CTX_CUSTOM, this needs to be defined as the name of the pointer to obtain context data , e.g.:
This should always be included in the parameter list when calling a function that has KER_CTX_INIT_PARAM defined in the parameter list.
| #define KER_CTX_INIT_DECL | ( | ) |
When using KER_CTX_CUSTOM, this needs to be defined as a statement that declares empty context as local variable , e.g.:
| #define KER_CTX_INIT_PARAM |
When using KER_CTX_CUSTOM, this needs to be defined as the name and type of the context data , e.g.:
| #define KER_CTX_INIT_SET | ( | ) |
When using KER_CTX_CUSTOM, this needs to be defined as a set of statements that assignes allocated context to local variable , e.g.:
| #define KER_CTX_PARAM |
When using KER_CTX_CUSTOM, this needs to be defined as the name and type of the context data followed by a comma , e.g.:
| #define KER_CTX_SINGLE |
When using KER_CTX_CUSTOM, this needs to be defined as the name of the context data , e.g.:
This should always be included in the parameter list when calling a function that has KER_CTX_SINGLE_PARAM defined in the parameter list.
| #define KER_CTX_SINGLE_PARAM void |
When using KER_CTX_CUSTOM, this needs to be defined as the name and type of the context data , e.g.:
| #define KER_CTX_TYPE |
When using KER_CTX_CUSTOM, this needs to be defined as the type of the context data , e.g.: